package code
package model

import net.liftweb._
import util._
import common._
//import Helpers._

import net.liftweb.http._
import net.liftweb.http.js._
import net.liftweb.http.js.JsCmds._
import org.joda.time.format._
import org.joda.time.{ DateTime => JodaDateTime }
import collection.mutable._
import java.util.{ Calendar => JavaCalendar }
import net.liftweb.mapper._

object Globals {
  var devMode = false
  private val dateFmt = DateTimeFormat forPattern "yyyy-MM-dd"
  val currentCalendar = JavaCalendar.getInstance()
  object casState extends SessionVar[CASStateData](CASStateDataForbidden)
  object currentUser extends SessionVar[String](casState.is.username)
  val dateFormatter = ISODateTimeFormat.date
}
